package com.hziee.cosmanage.companymanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hziee.common.utils.PageUtils;
import com.hziee.cosmanage.companymanage.entity.CharacterEntity;
import com.hziee.cosmanage.companymanage.entity.PartEntity;
import com.hziee.cosmanage.companymanage.vo.PartAddVo;

import java.util.List;
import java.util.Map;

/**
 * 企业部门表
 *
 * @author yb
 * @email yangbin@gmail.com
 * @date 2021-02-04 22:08:51
 */
public interface PartService extends IService<PartEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addPart(PartAddVo partAddVo);

    List<PartEntity> listWithTree(Integer cId);

    CharacterEntity getCompanyCharacterName(Integer cId, Integer characterId);

    PartEntity getCompanyPartName(Integer cId, Integer partId);
}

